package cn.wolfcode.wolf2w.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 景点
 */
@Setter
@Getter
@Document("spot")
public class Spot extends BaseDomain {

    private String name;        //景点名
    private String english;          //景点英文
    private String phone;          //电话
    private int hour;          //用时参考
    private Long num;          //人数
    private String img;          // 封面
    private String traffic;     // 交通
    private String ticket;     // 门票
    private String time;     // 开放时间
    private  String website;   //网址
    private String sequence;   //序号
    private String info;  //简介

    private String destId;  // 目的地id
    private String destName;  // 目的地名字

  /*  public String getJsonString(){
        Map<String, Object> map = new HashMap<>();
        map.put("id",id);
        map.put("name",name);
        map.put("sn",sn);
        map.put("refIds",getRefIds());
        map.put("ishot",ishot);
        map.put("sequence",sequence);
        map.put("info",info);
        return JSON.toJSONString(map);
    }*/
}